package com.eascs.paymentdetail.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the o2o_transfer_accounts database table.
 * 
 */
@Entity
@Table(name="o2o_transfer_accounts")
@NamedQuery(name="O2oTransferAccount.findAll", query="SELECT o FROM O2oTransferAccount o")
public class O2oTransferAccount implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="bill_code")
	private String billCode;

	@Column(name="bill_status")
	private String billStatus;

	@Column(name="collection_account")
	private String collectionAccount;

	@Column(name="collection_bank_address")
	private String collectionBankAddress;

	@Column(name="collection_bank_name")
	private String collectionBankName;

	@Column(name="collection_user_name")
	private String collectionUserName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="creat_date")
	private Date creatDate;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="update_time")
	private Date updateTime;

	@Column(name="creat_id")
	private String creatId;

	private String creator;

	@Column(name="is_del")
	private String isDel;

	@Column(name="pay_amount")
	private BigDecimal payAmount;

	@Column(name="pay_company")
	private String payCompany;

	@Temporal(TemporalType.DATE)
	@Column(name="pay_date")
	private Date payDate;

	@Column(name="pay_remark")
	private String payRemark;
	
	/**
	 * 经营单位ID
	 */
	@Column(name = "ltd")
	private String ltd;

	/**
	 * 经营单位编号
	 */
	@Column(name = "ltd_code")
	private String ltdCode;

	/**
	 * 经营单位名称
	 */
	@Column(name = "ltd_name")
	private String ltdName;

	public O2oTransferAccount() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBillCode() {
		return this.billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getBillStatus() {
		return this.billStatus;
	}

	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}

	public String getCollectionAccount() {
		return this.collectionAccount;
	}

	public void setCollectionAccount(String collectionAccount) {
		this.collectionAccount = collectionAccount;
	}

	public String getCollectionBankAddress() {
		return this.collectionBankAddress;
	}

	public void setCollectionBankAddress(String collectionBankAddress) {
		this.collectionBankAddress = collectionBankAddress;
	}

	public String getCollectionBankName() {
		return this.collectionBankName;
	}

	public void setCollectionBankName(String collectionBankName) {
		this.collectionBankName = collectionBankName;
	}

	public String getCollectionUserName() {
		return this.collectionUserName;
	}

	public void setCollectionUserName(String collectionUserName) {
		this.collectionUserName = collectionUserName;
	}

	public Date getCreatDate() {
		return this.creatDate;
	}

	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}

	public String getCreatId() {
		return this.creatId;
	}

	public void setCreatId(String creatId) {
		this.creatId = creatId;
	}

	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getIsDel() {
		return this.isDel;
	}

	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public BigDecimal getPayAmount() {
		return this.payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public String getPayCompany() {
		return this.payCompany;
	}

	public void setPayCompany(String payCompany) {
		this.payCompany = payCompany;
	}

	public Date getPayDate() {
		return this.payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public String getPayRemark() {
		return this.payRemark;
	}

	public void setPayRemark(String payRemark) {
		this.payRemark = payRemark;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getLtd() {
		return ltd;
	}

	public void setLtd(String ltd) {
		this.ltd = ltd;
	}

	public String getLtdCode() {
		return ltdCode;
	}

	public void setLtdCode(String ltdCode) {
		this.ltdCode = ltdCode;
	}

	public String getLtdName() {
		return ltdName;
	}

	public void setLtdName(String ltdName) {
		this.ltdName = ltdName;
	}

}